﻿<?php
/**

 * @version $Id: default.php,v 1.4 2009/06/04 20:13:37 dgravato Exp $

 * @package    sketchup

 * @subpackage 

 * @author     Chris Borkowski {@link http://www.guggenheim.org}

 * @author     Created on 21-May-2009

 */

// no direct access

defined( '_JEXEC' ) or die( 'Restricted access' );

?>
<div id="skechup_earth">
<?php echo $this->loadTemplate('earth'); ?>
<br/>
</div>

<div id="sketchup_grid">

<div id="sketchup_instructions">
	<span id="sketchup_instructions_title"><b>EARTH PLUG-IN DOWNLOAD</b></span><br/>
		<span id="sketchup_instructions_body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad </span>

</div>
<br/>
<p>This is what we want to feed in to the Earth API</p>

<?php foreach($this->list as $l): ?> 

	<div id="sketchup_grid_entry">

		<div id="sketchup_grid_entry_image">
		<b>Balloon Info:</b><br/>
		<img src="<?php echo $l->thumb1; ?>" width="80" height="60"/></p>
		</div>
				<div id="sketchup_grid_text">
				<span id="sketchup_grid_text_title"><?php echo $l->p_title; ?></span></br> 
				<span id="sketchup_grid_text_designer">by :<?php echo $l->f_name; ?><?php echo $l->l_name; ?></span><br/>
 				<span id="sketchup_grid_text_link">Link Back to Gugg Site:<a href="http://www.guggenheim.org<?php echo $l->link; ?>"><?php echo $l->link; ?></a></span><br/>
 				<b>Model URL/ID String to Send to GE API</b>
 				<p><?php $m3_clean = str_replace( "http://sketchup.google.com/3dwarehouse/details", "download", $l->m_url); echo $m3_clean; ?></p>
				</div> 
	</div>

<?php endforeach; ?> 
 
</div>